﻿using System.Threading.Tasks;
using SmartCity.Shared;
using Volo.Abp.Application.Services;

namespace CommonManagement
{
    /// <summary>
    /// 余额变动应用服务接口
    /// </summary>
    public interface IBalanceAppService : IApplicationService
    {
        /// <summary>
        /// 获取分页列表
        /// </summary>
        /// <param name="request"></param>
        Task<ListResponse<BalanceDto>> PagedListAsync(PagedListRequest request);

        /// <summary>
        /// 充值
        /// </summary>
        /// <param name="input"></param>
        Task<ActionResponse> RechargeAsync(BalanceRechargeDto input);
    }
}